<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .space a{
      display: inline-block;
      padding: 8px 16px;
      background-color: gray;
    }
  </style>
</head>
<body>
  <div class="space">
    <a href="#">百度</a>  
    <a href="#">腾讯</a>
    <a href="#">字节</a>
  </div>
</body>
</html>